package com.yunxin.customui.mapper.ui;

import com.yunxin.customui.bean.condition.select.ConditionConfig;
import com.yunxin.customui.bean.condition.select.SelectBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 *  这个Mapper 和外面的合并，删掉这个
 *
 * @author LGY
 * @date 2021/10/20
 */
@Mapper
public interface IVSelectMapper {

    @Select("select id,menulevel as selectLevel,menuparentid as selectParentId,text,isLast,isUse,idx,originId, groupname from v_select where isUse = 1 order by idx")
    List<SelectBean> getSelectBeans();

    @Select("select * from v_conditionconfig")
    List<ConditionConfig> queryConditionConfig();


    @Select("${sql}")
    List<SelectBean> getSelectBeansBySql(String sql);
}
